<template>
  <view class="form">
    <van-form>
      <view class="top-list">
        <van-field
            v-model="item.value"
            readonly
            :label="item.label"
            v-for="(item) in distributionData"
            input-align="right"
        />
      </view>
      <view>
        <van-field
            v-model="item.value"
            readonly
            :label="item.label"
            v-for="(item) in testData"
            input-align="right"
        />
      </view>
    </van-form>
  </view>
</template>

<script>
export default {
  name: "formDetails",
  props:['distributionData','testData'],
  data() {
    return {
    }
  }
}
</script>

<style lang="scss" scoped>
.form {
  width: 100vw;
  background: #F2F6FA;
  .van-form{
    padding: px2vh(30);
  }
  .top-list{
    margin-bottom: px2vh(30);
  }
}
</style>